package me.pearjelly.pmc.model;

import org.apache.lucene.document.Document;

public class PicGroupDoc {
	public PicGroupDoc(Document doc) {
		this.doc = doc;
	}
	private Document doc;
	public String getId() {
		return doc.get("id");
	}
	public String getName() {
		return doc.get("name");
	}
	public String getDesc() {
		return doc.get("desc");
	}
	public String getPri() {
		return doc.get("pri");
	}
	public String getMtime() {
		return doc.get("mtime");
	}
	public String[] getCateId() {
		return doc.getValues("cateId");
	}
	public String getDomain() {
		return doc.get("domain");
	}
	public String getCount() {
		return doc.get("count");
	}
	public String getImguri() {
		return doc.get("imguri");
	}	
}
